
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/passport.base.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/regist.personal.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/registReset.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.2.6.pack.js"></script>
<!--中部-->
<div class="w blank" id="regist">
<div class="mt">
    <h2>
        注册新用户</h2>
    <b></b><span>我已经注册，现在就&nbsp;<?php echo CHtml::link('登录', array('hymember/login'),array('class'=>'flk13')); ?></span>
</div>
<div class="mc">

<?php include_once('zc_nav.php');?>

 <?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hy-member-form',
	'enableAjaxValidation'=>false,
)); ?>
    <div class="form">
        <div class="item">
            <span class="label"><b class="ftx04">*</b>用户名：</span>

            <div class="fl">
                  <?php echo $form->textField($model,'user_name',array('maxlength'=>200,'class'=>'text','tabindex'=>1)); ?>
                <label id="username_succeed" class="blank"></label>
                <span class="clr"></span>

                <div id="username_error"> <?php echo $form->error($model,'user_name'); ?></div>
            </div>
        </div>
        <div id="o-password">
            <div class="item">
                <span class="label"><b class="ftx04">*</b>设置密码：</span>

                <div class="fl">
                     <?php echo $form->passwordField($model,'user_pws',array('class'=>'text','tabindex'=>2,'autocomplete'=>'off','style'=>'ime-mode:disabled;','onpaste'=>'return false')); ?>
                    <label id="pwd_succeed" class="blank"></label>
                    <span class="clr"></span>
                    <label class="hide" id="pwdstrength"><span class="fl">安全程度：</span><b></b></label>
                    <label id="pwd_error"></label>
                </div>
            </div>
            <div class="item">
                <span class="label"><b class="ftx04">*</b>确认密码：</span>

                <div class="fl">
                    	<?php echo $form->passwordField($model,'rePws',array('onpaste'=>'return  false','autocomplete'=>'off','tabindex'=>3)); ?>
                    <label id="pwd2_succeed" class="blank"></label>
                    <span class="clr"></span>
                    <label id="pwd2_error"><?php echo $form->error($model,'rePws'); ?></label>
                </div>
            </div>
        </div>
        <div class="item">
            <span class="label"><b class="ftx04">*</b>邮箱：</span>

            <div class="fl">
                <?php echo $form->textField($model,'user_email',array('maxlength'=>200,'class'=>'text','tabindex'=>1)); ?>
                <label id="mail_succeed" class="blank"></label>
                <span class="clr"></span>

                <div id="mail_error"><?php echo $form->error($model,'user_email'); ?></div>
            </div>
        </div>
        <div class="item">
            <span class="label">推荐人用户名：</span>

            <div class="fl">
                <input type="text" id="referrer" name="referrer" class="text" value="可不填" tabindex="5"/>
                <label id="referrer_succeed" class="blank invisible"></label>
                <span class="clr"></span>
                <label id="referrer_error"></label>
            </div>
        </div>
   		<div class="item">
            <span class="label"><b class="ftx04">*</b>验证码：</span>

            <div class="fl">
                        <?php echo CHtml::activeTextField($model,'verifyCode',array('style'=>'ime-mode:disabled','class'=>'text text-1','tabindex'=>5,'autocomplete'=>'off','MaxLength'=>7)); ?>
                <label>
                    <?php $this->widget('CCaptcha',array('showRefreshButton'=>FALSE,'clickableImage'=>true,'imageOptions'=>array('clickableImage'=>true,'alt'=>'点击换图','title'=>'点击换图','style'=>'cursor:pointer'))); ?></label>
                <label class="ftx23">&nbsp;看不清？<a href=""
                                                  class="flk13">换一张</a></label>
                <label id="authcode_succeed" class="blank invisible"></label>
                <span class="clr"></span>
                <label id="authcode_error"></label>
            </div>
        </div>
        <?php echo  $form->errorSummary($model); ?>
        <div class="item">
            <span class="label">&nbsp;</span>
                               <?php echo CHtml::submitButton('同意以下协议，提交',array('class'=>"btn-img btn-regist",'id'=>'registsubmit','border'=>0,'tabindex'=>8)); ?>
            
        </div>
    </div>

<?php $this->endWidget(); ?>	

<?php include_once 'protocol.php';?>
</div>
</div>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/Validate.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/Validate.emReg.js"></script>